package com.gx.mxbbx.dao;

import com.gx.mxbbx.po.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {
    SysUser findUserByUserId(@Param("userId") Integer userId, @Param("userPassword") String userPassword);

    List<SysUser> getUserList(@Param("userName") String userName);

    void addUser(SysUser sysUser);

    void delete(Integer id);

    SysUser getUserById(Integer id);

    void edit(SysUser sysUser);
}
